export class Tag {
    tagId!: number
    tagName!: string

    static fromTag(data: any): Tag {
        const tag = new Tag()
        tag.tagId = data.tagId
        tag.tagName = data.tagName ?? ''
        return tag
    }
    constructor() {
        this.tagId = -1
        this.tagName = ''
    }
}